package com.hgyc.mom.mes.printData;


import com.hgyc.mom.common.annotation.PrintDataTemplate;
import com.hgyc.mom.common.annotation.PrintFieldProperty;
import com.hgyc.mom.common.print.PrintTemplateBase;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@EqualsAndHashCode(callSuper = true)
@Data
@PrintDataTemplate(name = "工单打印", value= "WorkOrderLabel")
public class WorkOrderTemplate extends PrintTemplateBase {

    /**
     * 工单号
     */
    @PrintFieldProperty(name = "工单号")
    private String workOrderCode;

    /**
     * 产品名称
     */
    @PrintFieldProperty(name = "产品名称")
    private String productName;

    /**
     * 客户名称
     */
    @PrintFieldProperty(name = "客户名称")
    private String customer;

    /**
     * 出货日期
     */
    @PrintFieldProperty(name = "出货日期")
    private String deliveryDate;

    /**
     * 订单数量
     */
    @PrintFieldProperty(name = "订单数量")
    private BigDecimal saleOrderQty;

    /**
     * 订单生产备注
     */
    @PrintFieldProperty(name = "订单生产备注")
    private String productionRemark;

    /**
     * 图纸
     */
    @PrintFieldProperty(name = "图纸")
    private String img;

    /**
     * 单位
     */
    @PrintFieldProperty(name = "单位")
    private String unit;

}
